<template>
    <view class="container">
        <header-bar :config="config"></header-bar>
        <view> </view>
    </view>
</template>

<script>
export default {
    components: {},
    data() {
        return {
            config: {
                title: "扫码入库",
                centerSlot: true,
            },
            id: 0,
        }
    },
    mounted() {
        // #ifdef APP-PLUS
        var pages = getCurrentPages()
        var page = pages[pages.length - 1]
        plus.navigator.setFullscreen(true) //全屏
        var currentWebview = page.$getAppWebview()
        this.createBarcode(currentWebview) //创建二维码窗口
        this.createView(currentWebview) //创建操作按钮及tips界面
        // #endif
    },
    methods: {},
}
</script>

<style lang="scss" scoped>
.input-main-page {
    padding: $app-page-padding;
    margin-top: 200rpx;
}
.input-purchase-code {
    font-size: $font-size-40;
    display: flex;
    flex: 1;
    height: 88rpx;
    justify-content: center;
    align-items: center;
    border-bottom: solid 1rpx #666666;
    margin-bottom: 70rpx;
    text-align: center;
}
.btn-sure-code {
    height: 98rpx;
}
</style>
